/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package pck_tramitedocu.pck_src.pck_dao;

import java.sql.SQLException;
import java.util.Map;
import pck_tramitedocu.pck_src.pck_utiles.Cls_Parametros;

/**
 *
 * @author Josema
 */
public class Cls_dao_error extends Cls_dao_Mybatis_Jdbc_Connection implements Itf_dao_error {

    public String obtenerErrorUsuarioDao(Map<String, Object> map) {
        try {
            return (String)this.getSqlMapClient().queryForObject(
                    Cls_Parametros.FuncionIbt_TramiteDocumentario_OBTIENE_ERROR, map);
        } catch (SQLException ex) {
            System.out.println("Cls_Dao_error" + ex.getMessage());
            return "";
        }
    }

}
